package com.cjxt.ams.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cjxt.ams.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author zhanghuan
 * @version V1.0
 * @Description:
 * @className: UserDao
 * @date 2021/11/24 14:20
 * @company:华勤技术股份有限公司
 * @copyright: Copyright (c) 2021
 */
@Mapper
public interface UserDao extends BaseMapper<User> {

    /**
     * @description: 根据用户ID查询用户的所有菜单ID
     * @author zhanghuan
     * @date 2021/11/24 14:21
     * @param userId
     * @return: java.util.List<java.lang.Integer>
     */
    List<Integer> queryAllMenuId(Integer userId);
}
